# source 'http://ruby.taobao.org'
#source  'http://tokyo-m.rubygems.org'
source  'http://rubygems.org'
 ruby '2.0.0'  #新增
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.4'

gem 'bootstrap-sass','2.3.2.0'
gem 'sprockets', '2.11.0' #使用清单文件告诉 Rails怎么把资源合并成一个文件，不能使用新版本 2.12.0,会报错，所以这里强制使用2.11版

gem 'faker', '1.1.2' #使用这个 gem，我们可以半真实的名字和 Email 地址创建示例用户。

gem 'will_paginate', '3.0.4' #分页功能
gem 'bootstrap-will_paginate', '0.0.9' #是设置 will_paginate 使用 Bootstrap 中的分页样式

gem 'mechanize', '2.7.2'

# Use sqlite3 as the database for Active Record
group :development, :test do
	gem 'sqlite3','1.3.8' #数据库
  gem 'rspec-rails','2.13.1' #针对 Rails 的 RSPec 库 gem,
  # 没必要单独的安装 RSpec，因为它是 rspec-rails 的依赖件（dependency），会被自动安装。

  gem 'guard-rspec', '2.5.0'

  gem 'spork-rails', '4.0.0'
  gem 'guard-spork', '1.5.0'
  gem 'childprocess', '0.3.6'
end

group :test do
  gem 'selenium-webdriver', '2.35.1'#这是 Capybara 的一个依赖库
  gem 'capybara', '2.1.0' #这个 gem 允许我们使用类似英语中的句法编写模拟与应用程序交互的代码
  gem 'factory_girl_rails', '4.2.1' #生成预构件（Active Record 对象）
end
#group :production do
#	gem 'pg','0.15.1'
#	gem 'rails_12factor','0.0.2'
#end

gem 'bcrypt-ruby','3.1.2' # hash算法，用于对用户密码进行加密

# Use SCSS for stylesheets
gem 'sass-rails', '4.0.1'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '2.1.1'

# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '4.0.1'

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails','3.0.4'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks','1.1.1'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '1.0.2'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc','0.3.20', require: false
end

# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]
